/*
 * @Date: 2023-01-31 17:10:30
 * @LastEditTime: 2023-02-01 11:10:48
 * @Description: 
 */
import { register } from '@/utils/net';
import UserRegister from '../bean/UserRegister';
import IRegisterModel from './IRegisterModel';

export default class RegisterModelImp implements IRegisterModel {
    UserRegister(data: UserRegister): Promise<any> {
        return new Promise((resolve, reject) => {
            register(data).then((res: any) => {
                resolve(res)
            })
        })
    }

}
